import { View } from '@tarojs/components';
import { AtIcon } from 'taro-ui'

export default function IconButton(props: { icon: string; onClick: () => void }) {
    return (
        <View onClick={props.onClick}>
            <AtIcon value={props.icon} size='30'></AtIcon>
        </View>
    )
}
